//
//  NetRequest.h
//  棒棒哒
//
//  Created by rimi on 15/8/4.
//  Copyright (c) 2015年 rimi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
#import "CustomButton.h"
#import "CustomLabel.h"
#import "CustomImageView.h"
#import "Config.h"

@interface NetRequest : NSObject

+ (void)GET:(NSString *)url
 parameters:(NSDictionary *)parametersDic
    success:(void(^)(id responseObject))success
    failure:(void(^)(NSError *error))failure;

- (void)request: (NSString*)httpUrl
    withHttpArg: (NSString*)HttpArg
        success:(void(^)(id responseObject))success
        failure:(void(^)(NSError *error))failure;
+(void)POST:(NSString *)url
 parameters:(NSDictionary *)parametersDic
    success:(void(^)(id responseObject))success
    failure:(void(^)(NSError *error))failure;

@end
